feat(template): derive ErrorTemplate from proto Template option - #20
feat(template): derive ErrorTemplate from proto Template option#20yordis wants to merge 3 commits into
Conversation
yordis
commented
May 6, 2026
- Lets services declare their error contract once in proto and pick it up in Go without hand-rewriting the same domain/reason/code/visibility/help/metadata in two places.
- Field-level FieldOptions (visibility, value/default_value) drive per-instance metadata, so a populated proto message becomes a fully-formed error without per-call boilerplate.
PR SummaryMedium Risk Overview
Tooling: Reviewed by Cursor Bugbot for commit d25ae72. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Warning Review limit reachedNext included review available in 22 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (10)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
…mapping Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
6191c3f to
d25ae72
Compare